<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width" />
    <title>板块</title>
    <meta name="keywords" content="个人博客，个人网站，校园论坛，好看的个人博客">
    <meta name="description" content="">
    <link rel="stylesheet" th:href="@{/static/desk/font-awesome/css/font-awesome.min.css}">
    <link rel="stylesheet" th:href="@{/static/desk/layui/css/layui.css}"/>
    <link th:href="@{/static/desk/css/plate.css}" rel="stylesheet" type="text/css">
    <link th:href="@{/static/desk/css/animate.min.css}" rel="stylesheet" type="text/css">
    <link rel="stylesheet" th:href="@{/static/desk/css/master.css}"/>
    <link rel="stylesheet" th:href="@{/static/desk/css/gloable.css}"/>
    <link rel="stylesheet" th:href="@{/static/desk/css/nprogress.css}"/>
    <link rel="stylesheet" th:href="@{/static/desk/css/blog.css}"/>
</head>
<body>
<header th:insert="front_template :: header"></header>
<div class="section" id="section2">
    <div class="fp-tablecell">
        <div class="page2">
            <div class="warp-box">
                <div class="layui-row">
                    <div class="layui-col-xs12 layui-col-sm4 layui-col-md4  wow fadeInUp" style="padding: 0 10px" th:each="map:${plates}">
                        <div class="single-news">
                            <div class="news-head">
                                <img th:src="${map.plateImg}">
                                <a th:href="@{${map.plateUrl}(id=${map.id})}" class="link"><i class="fa fa-link"></i></a>
                            </div>
                            <div class="news-content">
                                <h4>
                                    <a th:href="${map.plateUrl}" th:utext="${map.plateName}">

                                    </a>
                                </h4>
                                <div class="date" th:text="${#dates.format(map.createDate,'yyyy-MM-dd')}">

                                </div>
                                <p th:utext="${map.description}">

                                </p>
                                <a th:href="@{${map.plateUrl}(id=${map.id})}" class="btn">
                                    阅读更多
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
                <nav style="text-align: center" th:if="${page.rows>0}">
                    <div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-2">
                        <a th:href="@{${page.path}(current=1)}" class="layui-laypage-prev" data-page="1">首页</a>
                        <a th:href="@{${page.path}(current=${page.current-1})}" th:class="|layui-laypage-prev ${page.current==1?'layui-disabled':''}|" data-page="">上一页</a>
                        <div style="display: inline-block" th:each="i:${#numbers.sequence(page.from,page.to)}">
                            <a th:href="@{${page.path}(current=${i})}" th:class="|${i==page.current?'layui-laypage-curr':''}|" >
                                <em class="layui-laypage-em"></em>
                                <em th:text="${i}"></em>
                            </a>
                        </div>
                        <a th:href="@{${page.path}(current=${page.current+1})}" th:class="|layui-laypage-next ${page.current==page.total?'layui-disabled':''}|" data-page="">下一页</a>
                        <a th:href="@{${page.path}(current=${page.total})}" class="layui-laypage-next" data-page="">末页</a>
                    </div>
                </nav>
            </div>
        </div>
    </div>
</div>
<footer th:insert="front_template :: footer"></footer>
<script th:src="@{../../static/desk/layui/layui.js}"></script>
<script th:src="@{/static/desk/js/wow.min.js}"></script>
<script th:src="@{/static/desk/js/index.js}"></script>
</body>
</html>